@import './normalize.css';

/*获取伪类，:root => html*/

:root {
  /*定义变量*/
  --color-text: #666;
  --clolr-high-text: #ff5777;
  --colot-tint: #ff8198;
  --color-backgtound: #fff;
  --font-size: 14px;
  --line-height: 1.5;
}

*::before *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, Helvetica, sans-serif;
  user-select: none;
  /*用户无法选中*/
  -webkit-tap-highlight-color: transparent;
  /*webkit是苹果浏览器引擎，tap点击，hignlight高亮，color颜色*/
  background: var(--color-background);
  color: var(--color-text);
  width: 100vw;
}

a {
  color: var(--color-text);
  text-decoration: none;
}

.left {
  float: left;
}

.right {
  float: right;
}

.clear-fix {
  zoom: 1;
}

.clear-fix::after {
  clear: both;
  content: '';
  display: block;
  width: 0;
  height: 0;
  visibility: hidden;
}